package com.project.dao;

import com.project.entity.Kpoint;
import com.project.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface KpointMapper {

    int insertSelective(Kpoint kpoint);

    List<Kpoint> selectByCondition(Kpoint kpoint);

    List<Kpoint> selectByPid(Integer pid);

    Kpoint selectByPrimaryKey(Integer id);

    Kpoint selectByName(String name);

    int deleteByPrimaryKey(Integer id);

    int updateById(Kpoint kpoint);

    int changeNameById(@Param("id") Integer id, @Param("name") String name);
}
